import { createApp } from 'vue'
import './styles/index.css'
import 'virtual:svg-icons-register'
import App from './App.vue'
import { setupRouter } from '/@/router'
import { setupStore } from '/@/store'
import { setupI18n } from '/@/locales'
function bootstrap() {
  const app = createApp(App)
  // 配置路由
  setupRouter(app)
  // 配置 store
  setupStore(app)
  // i18n
  setupI18n(app)
  app.mount('#app')
}

bootstrap()
